use wanmesh_common::error::ResponseError;

#[derive(thiserror::Error, Debug)]
pub enum Error {
    #[error("{0}")]
    ResponseError(#[from] ResponseError),
    #[error("{0}")]
    HttpError(#[from] reqwest::Error),
    #[error("{0}")]
    Other(#[from] anyhow::Error),
}